/**
 * 富文本问编辑框样式
 * @type {{toolbar: {container: ([{size: (string|boolean)[]}]|string[]|[{list: string},{list: string},{indent: string},{indent: string}]|[{align: *[]}])[], handlers: {image: *, video2: *}}, ImageDrop: boolean, "emoji-textarea": boolean, "emoji-toolbar": boolean, "emoji-shortname": boolean}}
 */
export const modules = {
    toolbar: [
        ['bold', 'italic', 'underline', 'strike'],        // toggled buttons
        ['blockquote', 'code-block'],
        [{ 'header': 1 }, { 'header': 2 }],               // custom button values
        [{ 'list': 'ordered'}, { 'list': 'bullet' }],
        [{ 'script': 'sub'}, { 'script': 'super' }],      // superscript/subscript
        [{ 'indent': '-1'}, { 'indent': '+1' }],          // outdent/indent
        [{ 'direction': 'rtl' }],
        ['image'],// text direction
        [{ 'size': ['small', false, 'large', 'huge'] }],  // custom dropdown
        [{ 'header': [1, 2, 3, 4, 5, 6, false] }],
        [{ 'color': [] }, { 'background': [] }],          // dropdown with defaults from theme
        [{ 'font': [] }],
        [{ 'align': [] }],
        ['clean'],                                         // remove formatting button
    ]
}

export const WEB_APP_KEY = '251ebc5410c40838452584689685296b'
